Skip to content

refactor(cli): depend on standalone capglyph-core via ../capglyph-core (CTX-0040) - #30

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0040/feat-standalone-core-dep
Aug 31, 2026
Merged

refactor(cli): depend on standalone capglyph-core via ../capglyph-core (CTX-0040)#30
Xuepoo merged 1 commit into
mainfrom
ctx-0040/feat-standalone-core-dep

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

Companion to CapGlyph/capglyph-core#1 (CTX-0040 extraction).

  • Update Cargo.toml: remove [workspace] members = ["crates/capglyph-core"], change capglyph-core dep from path = "crates/capglyph-core" to path = "../capglyph-core" (isolated monorepo sibling, same as ../vectomancy)
  • Delete embedded crates/capglyph-core directory (git rm -r)
  • Update .github/workflows/ci.yml + release.yml: add CapGlyph/capglyph-core checkout at capglyph-core sibling, include its Cargo.lock in cache keys, fix AUR PKGBUILD prepare() to symlink capglyph-core
  • Update docs/capglyph-core-api.md with CTX-0040 workspace layout and extraction checklist + dependency decision (path dep until crates.io publish)

Verification:

cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
cargo check --lib --target wasm32-unknown-unknown
cargo tree --target wasm32-unknown-unknown | grep -E 'clap|glob|trustmark|c2pa' # no output

All pass in both repos. Uses standalone CapGlyph/capglyph-core v0.1.0 via sibling path.

Part of CTX-0040. Closes CTX-0040.

…e (CTX-0040)

Extract embedded crates/capglyph-core (v0.1.0) to standalone repo
CapGlyph/capglyph-core (canonical Rust Core). Update Cargo.toml:
remove [workspace] members, change capglyph-core dep from
path = "crates/capglyph-core" to path = "../capglyph-core" (isolated
monorepo sibling, same as ../vectomancy). Delete crates/capglyph-core
directory (mechanical extraction, no duplicate).

Update CI/release workflows to checkout CapGlyph/capglyph-core sibling
alongside vectomancy so path resolves, include its Cargo.lock in cache
keys, and fix AUR PKGBUILD prepare() to symlink capglyph-core sibling
+ add capglyph-core source. Update docs/capglyph-core-api.md with
CTX-0040 workspace layout and extraction checklist + dependency decision
(path dep until crates.io publish).

Verified: cargo fmt --check, cargo clippy --all-targets -- -D warnings,
cargo test, cargo check --lib --target wasm32-unknown-unknown clean
(no clap/glob/trustmark/c2pa) in both repos; wasm tree clean.

Part of CTX-0040.
@Xuepoo
Xuepoo merged commit 0c5b934 into main Aug 31, 2026
8 checks passed
@Xuepoo
Xuepoo deleted the ctx-0040/feat-standalone-core-dep branch August 31, 2026 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant